Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
MSSQL
1) Aggregate Functions
2) Analytical Functions
3) Constraints
4) Cursor
5) Data Set
6) Data Type
7) Database
8) Date Timezone
9) Index
10) Insert Delete Update
11) Math Functions
12) Select Query
13) Sequence
14) Store Procedure Function
15) String Functions
16) Subquery
17) System
18) Table
19) Table Joins
20) Transact SQL
21) Transaction
22) Trigger
23) View
24) XML
String Functions
1) % is for any length of letters
2) ^ specifies the negation of a range or a list of characters
3) _ is for one letter
4) Any of the wildcard characters (%, _ [, ], or ) enclosed in square brackets stand for themselves
5) ASCII
6) ASCII(A)
7) Begin with a character in the range C through F
8) CHAR
9) CHAR(65)
10) CHAR(CAST(0x3A as int))
11) CHARINDEX
12) CHARINDEX()
13) CHARINDEX(Mars, The stars near Mars are far from ours)
14) COLLATE Latin1_General_CS_AS
15) Combine CHARINDEX with substring
16) Combine Lower() Upper() and substring() function to capital the first letter in a word
17) DATALENGTH()
18) DATALENGTH() for for Unicode character set
19) DATALENGTH(@Value)
20) DIFFERENCE
21) DIFFERENCE()
22) Get string to the right
23) LEFT
24) LEFT()
25) LEFT(Name,1)
26) LEN()
27) LEN(@Value)
28) Like with escape
29) LOWER
30) LTRIM
31) NCHAR
32) PATINDEX
33) PATINDEX(%M_rs%, The stars near Mars are far from ours)
34) QUOTENAME
35) REPLACE
36) REPLACE spaces
37) REPLACE()
38) REPLICATE
39) REPLICATE string
40) REPLICATE(, 20 - LEN(Name))
41) REVERSE
42) REVERSE()
43) RIGHT
44) RIGHT()
45) RIGHT(@RIGHT_STRING,10)
46) SELECT DIFFERENCE ( Fleas, Fleece)
47) SOUNDEX
48) SOUNDEX()
49) SPACE
50) SPACE(20 - LEN(Name))
51) Specifying an overall length greater than the length of the value, decimal point, and the decimal value, the result will
52) STR
53) STR() Function
54) STR() function right-fills the decimal value with zeros
55) STR(100 325,7)
56) STR(123 456789, 8, 4)
57) STUFF()
58) STUFF(string_used_as_basis, start_point, length, string_to_insert)
59) SUBSTRING()
60) SUBSTRING(string_to_remove_string_from, start_position, length)
61) Substring
62) UNICODE
63) UPPER
64) Use set to assign value to a variable with replicate function
65) Using the DIFFERENCE() function to compare Redmond with Renton